# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=dzonegit
pkgver=0.14
pkgrel=2
pkgdesc="Git hooks to manage a repository of DNS zones"
url="https://github.com/oskar456/dzonegit"
arch="noarch"
license="MIT"
depends="bind-tools git python3"
makedepends="py3-setuptools py3-pytest-runner"
checkdepends="py3-pytest py3-pytest-runner"
source="https://github.com/oskar456/dzonegit/archive/v$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6a881b75e7415b09e888d37b6b8b79e9ea6a7be0816984319fae9256f62f273f7edce609b69404869afaa80fe067cda59904ae362c3096da73293a7f98f0b19d  dzonegit-0.14.tar.gz"
